﻿using System;
using NUnit.Framework;
using ProjetoComperio.Framework.Util;

namespace ProjetoComperio.Test.ComperioFramework.Util
{
    [TestFixture]
    public class DateTimeExtensionsTest
    {
        [Test]
        public void TestSQLServerMinValue()
        {
            DateTime dateTime = new DateTime();
            Assert.AreEqual(new DateTime(1753, 1, 1), dateTime.SQLServerMinValue());
        }
        [Test]
        public void TestSQLServerMaxValue()
        {
            DateTime dateTime = new DateTime();
            Assert.AreEqual(DateTime.MaxValue, dateTime.SQLServerMaxValue());
        }
    }
}
